import React, { Component } from 'react'

export default class TableBody extends Component {
    render() {
        const courseData = this.props;
        return (
            <tbody>
                {
                    courseData.map((item,index)=>{
                        return(
                            <tr>
                                <td>{item}</td>
                            </tr>
                        )
                    })
                }
            </tbody>
        )
    }
}
